<div class="tab-pane active">
    <div class="box box-info">
        <div class="box-header with-border">
            <div class="box-title">绩效考核展示</div>
        </div>
        <div class="box-body">
            <div>
                <form class="navbar-form navbar-left" role="search">

                    <div class="form-group">
                        <a ui-sref="performance-evaluation-add" type="button" class="btn btn-success" ng-click="addTab()">新增</a>
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control"  placeholder="工号" ng-model="perEvalWhere.jobnum">
                    </div>
                    <div class="form-group">
                        <input type="radio" name="select" ng-model="perEvalWhere.status" value="0">未处理
                        <input type="radio" name="select" ng-model="perEvalWhere.status" value="1">已完成
                    </div>
                    <!--<div class="form-group">-->
                        <!--<input type="text" class="form-control"  placeholder="处理状态" ng-model="perEvalWhere.status">-->
                    <!--</div>-->
                    <div class="form-group">
                        <input class="btn btn-default" type="button" value="查询" ng-click="selectWhere(perEvalWhere)">
                    </div>
                </form>

                <!--这里打开的是新页面-->
            </div>
            <table class="table table-bordered">
                <thead>
                <tr>
                    <th class="text-left">参与沟通人</th>
                    <th class="text-left">沟通日期</th>
                    <th class="text-left">业务目标名称</th>
                    <th class="text-left">实际完成率</th>
                    <th class="text-left">关键任务</th>
                    <th class="text-left">奖励名称</th>
                    <th class="text-left">惩处名称</th>
                    <th class="text-left">任职人签名日期</th>
                    <th class="text-left">直接上级签名日期</th>
                    <th class="text-left">处理状态 </th>
                    <th class="text-left">操作</th>
                </tr>
                <tr ng-repeat="item in list">
                    <td>{{item.employee.name}}</td>
                    <td>{{item.date}}</td>
                    <td>{{item.task_target_name}}</td>
                    <td>{{item.actual_complete_rate}}</td>
                    <td>{{item.keytask}}</td>
                    <td>{{item.reward_name}}</td>
                    <td>{{item.punish_name}}</td>
                    <td>{{item.onwork_pendate}}</td>
                    <td>{{item.next_pendate}}</td>
                    <td ng-if="item.deal_status=='1'">已完成</td>
                    <td ng-if="item.deal_status=='0'">未处理</td>
                    <td>
                        <div class="form-group">
                            <div>
                                <button ng-click="selectPerEval(item.id)" class="btn btn-info" type="submit">查看详情</button>
                                <button ng-click="delete(item.id)" class="btn btn-info">删除</button>
                            </div>
                        </div>
                    </td>
                </tr>
                </thead>
            </table>
        </div>


        <!--分页页码-->
        <div class="box-footer no-border" ng-show="listShow">
            <pagination-component total-items="PerEvalList.totalCounts"
                                  current-page="PerEvalList.pageIndex"
                                  page-size="PerEvalList.pageSize"
                                  select-page="NextListData(pageIndex)">
            </pagination-component>
        </div>

        <div class="box-footer no-border" ng-show="listByWhereShow">
            <pagination-component total-items="PerEvalList.totalCounts"
                                  current-page="PerEvalList.pageIndex"
                                  page-size="PerEvalList.pageSize"
                                  select-page="NextListData(pageIndex)">
            </pagination-component>
        </div>
    </div>
</div>




